package com.zy.gmall0401.enums;

public enum ProcessStatus {
    UNPAID("未支付", com.zy.gmall0401.enums.OrderStatus.UNPAID),
    PAID("已支付", com.zy.gmall0401.enums.OrderStatus.PAID),
    NOTIFIED_WARE("已通知仓储", com.zy.gmall0401.enums.OrderStatus.PAID),
    WAITING_DELEVER("待发货", com.zy.gmall0401.enums.OrderStatus.WAITING_DELEVER),
    STOCK_EXCEPTION("库存异常", com.zy.gmall0401.enums.OrderStatus.PAID),
    DELEVERED("已发货", com.zy.gmall0401.enums.OrderStatus.DELEVERED),
    CLOSED("已关闭", com.zy.gmall0401.enums.OrderStatus.CLOSED),
    FINISHED("已完结", com.zy.gmall0401.enums.OrderStatus.FINISHED) ,
    PAY_FAIL("支付失败", com.zy.gmall0401.enums.OrderStatus.UNPAID),
    SPLIT("订单已拆分", com.zy.gmall0401.enums.OrderStatus.SPLIT);

    private String comment ;
    private com.zy.gmall0401.enums.OrderStatus orderStatus;

    ProcessStatus(String comment, com.zy.gmall0401.enums.OrderStatus orderStatus){
        this.comment=comment;
        this.orderStatus=orderStatus;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public com.zy.gmall0401.enums.OrderStatus getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(com.zy.gmall0401.enums.OrderStatus orderStatus) {
        this.orderStatus = orderStatus;
    }

}
